package com.hx.hospital.service;


import com.hx.common.result.PageResult;
import com.hx.hospital.pojo.Building;

import java.util.List;
import java.util.Map;

/**
 * building业务逻辑层
 */
public interface BuildingService {


    public List<Building> findAll();


    public PageResult<Building> findPage(int page, int size);


    public List<Building> findList(Map<String, Object> searchMap);


    public PageResult<Building> findPage(Map<String, Object> searchMap, int page, int size);


    public Building findById(Long id);

    public void add(Building building);


    public void update(Building building);


    public void delete(Long id);

}
